import Antd from 'ant-design-vue'
import * as antIcons from '@ant-design/icons-vue';
import type { App } from 'vue'
export function setupAntd(app: App<Element>) {
    app.use(Antd)
    // 注册图标组件
    Object.keys(antIcons).forEach((key) => {
        app.component(key, antIcons[key]);
    });
}